<!--
*@Author: QWP
*@Description: 二维码
*@Date: 2023-10-09 09:54:32
-->
<template>
  <a-qrcode :value="value" 
    :size="props.size"/>
</template>

<script lang='ts' setup>
defineOptions({
  name: 'u-qrcode'
})
import { ref, reactive } from 'vue' 
interface Props {
  value: string,
  size: number
}
const props = withDefaults(defineProps<Props>(), {
  size: 80
})
</script>

<style lang='scss' scoped>
</style>